Skip to main content

mobileAdGetVisible

Type

function

Summary

Return true if an ad is visible.

Syntax

mobileAdGetVisible(<ad>)

Description

Use the mobileAdGetVisible function to check if an ad created with mobileAdCreate is visible.

Parameters

NameTypeDescription

ad

The name of the ad.

Examples

get mobileAdGetVisible("bannerAd")
put "bannerAd" into tAdName
if mobileAdGetVisible(tAdName) is true then
...
end if

function: mobileAdGetTopLeft, mobileAds

message: adLoaded, adLoadFailed, adClicked

command: mobileAdCreate, mobileAdRegister, mobileAdSetVisible, mobileAdSetTopLeft

Compatibility and Support

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?